package com.dwxt.community.service.feign;

import com.dwxt.common.base.*;
import org.springframework.cloud.openfeign.*;
import org.springframework.web.bind.annotation.*;

@FeignClient("redis")
public interface RedisService {

    @RequestMapping("/redis/set")
    public BaseResult set(@RequestParam String key, @RequestParam String value, @RequestParam Long expireTime);

    @RequestMapping("/redis/get")
    public BaseResult get(@RequestParam String key);
}
